from pydantic import BaseModel


class Candidate(BaseModel):
    xpath: str
    css: str | None
    strategy: str
    matches: int
    verification_status: str


class LocationResult(BaseModel):
    original_node_html: str
    original_node_attributes: dict[str, str]
    candidates: list[Candidate]
